﻿using gt.ShortMessage.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace gt.ShortMessage.Services
{
    public interface IActiveCodeService
    {
        /// <summary>
        /// 生成验证码
        /// </summary>
        /// <param name="phone">手机号</param>
        /// <param name="uniqueId">设备号</param>
        /// <param name="businessId">业务Id</param>
        /// <returns></returns>
        ActiveCode GenerateActiveCode(string phone,string uniqueId,string businessId);
    }
}
